#include "driverh.h"

#ifndef __Uart4_h_
#define __Uart4_h_

#if UART4_EN > 0

#ifdef   __cplusplus
extern   "C"   {
#endif

INT8U Uart4Init(INT32U bps, INT16U party);
void Uart4SetBaud(INT32U bps, INT16U party);
INT8U Uart4ReceiveNByte(INT8U *p, INT16U n);
INT8U Uart4SendNByte(INT8U *p, INT16U n);
INT8U Uart4SendStr(INT8 *str);
INT8U WaitUart4SendEnd(void);
void Uart4QueueFlushSendBuf(void);
void Uart4QueueFlushReceiveBuf(void);
void Uart4Empty(void);

#ifdef   __cplusplus
}
#endif

#endif //Uart4>0
#endif

